<template>
    <div class="main-goldManagement">
        <i class="el-icon-menu">在线人数:</i>&nbsp;<span style="color: red">2</span>
        <div style="margin-top: 20px">
            <el-table
                border
                ref="multipleTable"
                :data="tableData"
                tooltip-effect="dark"
                style="width: 100%"
            >
                <el-table-column label="序号" width="150">
                    <template slot-scope="scope">{{ scope.row.date }}</template>
                </el-table-column>
                <el-table-column label="头像" width="150">
                    <template slot-scope="scope">{{ scope.row.name }}</template>
                </el-table-column>
                <el-table-column label="用户名" width="150">
                    <template slot-scope="scope">{{
                        scope.row.address
                    }}</template>
                </el-table-column>
                <el-table-column label="昵称" width="200">
                    <template slot-scope="scope">{{
                        scope.row.address
                    }}</template>
                </el-table-column>
                <el-table-column label="上线时间" width="240">
                    <template slot-scope="scope">{{
                        scope.row.address
                    }}</template>
                </el-table-column>
                <el-table-column fixed="right" label="状态" width="150">
                    <img
                        src="../../assets/goldManagement/在线.png"
                        alt=""
                        style="width: 40px; height: 40px"
                    />
                </el-table-column>
            </el-table>
            <div style="text-align: center; margin-top: 20px">
                <el-pagination
                    background
                    layout="total, prev, pager, next, jumper"
                    :total="1000"
                >
                </el-pagination>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            tableData: [
                {
                    date: "2016-05-03",
                    name: "王小虎",
                    address: "上海市普陀区金沙江路 1518 弄",
                },
                {
                    date: "2016-05-02",
                    name: "王小虎",
                    address: "上海市普陀区金沙江路 1518 弄",
                },
            ],
            multipleSelection: [],
        };
    },
    methods: {},
};
</script>

<style scoped>
.main-goldManagement {
    margin: 0;
    padding: 0;
    padding-left: 50px;
    text-align: left;
    line-height: normal;
}
</style>